package com.xiongtian.springframework.test.module10.event;

import com.xiongtian.springframework.context.event.ApplicationContextEvent;

/**
 * @Author: xiongtian
 * @CreateTime: 2025-04-14  10:47
 * @Version: 1.0
 * @Description: TODO
 */

public class CustomEvent extends ApplicationContextEvent {

    private Long id;
    private String message;


    public CustomEvent(Object source,Long id,String message) {
        super(source);
        this.id = id;
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
}
